package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * @Description 水浒叶子牌 斗牌结果
 * @Author cwq
 * @Data 2022/1/4 17:04
 */
@FieldTypeAnnotation(tableName = "t_l_activity_shuihuyezicard_battle_result_record")
public class LogShuiHuYeZiCardBattlerResultRecord {
    @FieldTypeAnnotation(desc = "活动id",update = true,select = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "玩家id",update = true,select = true)
    private long userId;
    @FieldTypeAnnotation(desc = "房间类型(0pve 1pvp)")
    private int type;
    @FieldTypeAnnotation(desc = "房间id")
    private int roomId;
    @FieldTypeAnnotation(desc = "是否胜利")
    private boolean isWin;
    @FieldTypeAnnotation(desc = "对手/Ai Id")
    private long targetId;
    @FieldTypeAnnotation(desc = "变更前段位分")
    private long oldRankScore;
    @FieldTypeAnnotation(desc = "变更后段位分")
    private long newRankScore;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;
    @FieldTypeAnnotation(desc = "开局时间")
    private long startTime;
    @FieldTypeAnnotation(desc = "记录时间")
    private long time;

    public LogShuiHuYeZiCardBattlerResultRecord(int activityId, long userId, int type, int roomId, boolean isWin, long targetId, long oldRankScore, long newRankScore, String reward, long startTime, long time) {
        this.activityId = activityId;
        this.userId = userId;
        this.type = type;
        this.roomId = roomId;
        this.isWin = isWin;
        this.targetId = targetId;
        this.oldRankScore = oldRankScore;
        this.newRankScore = newRankScore;
        this.reward = reward;
        this.startTime = startTime;
        this.time = time;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getRoomId() {
        return roomId;
    }

    public void setRoomId(int roomId) {
        this.roomId = roomId;
    }

    public boolean isWin() {
        return isWin;
    }

    public void setWin(boolean win) {
        isWin = win;
    }

    public long getTargetId() {
        return targetId;
    }

    public void setTargetId(long targetId) {
        this.targetId = targetId;
    }

    public long getOldRankScore() {
        return oldRankScore;
    }

    public void setOldRankScore(long oldRankScore) {
        this.oldRankScore = oldRankScore;
    }

    public long getNewRankScore() {
        return newRankScore;
    }

    public void setNewRankScore(long newRankScore) {
        this.newRankScore = newRankScore;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }
}
